
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第 1 章 Phoenix 简介 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapter1.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    第 1 章 Phoenix 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    第 2 章 Phoenix 快速入门
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="chapter1/21-an-zhuang-bu-shu.html">
            
                <a href="chapter1/21-an-zhuang-bu-shu.html">
            
                    
                    2.1 安装部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="chapter1/22-phoenix-biao-cao-zuo.html">
            
                <a href="chapter1/22-phoenix-biao-cao-zuo.html">
            
                    
                    2.2 Phoenix 表操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="chapter1/23-phoenix-biao-ying-she.html">
            
                <a href="chapter1/23-phoenix-biao-ying-she.html">
            
                    
                    2.3 Phoenix 表映射
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="di-3-zhang-phoenix-tu-xing-hua-gong-51773a-squirrel.html">
            
                <a href="di-3-zhang-phoenix-tu-xing-hua-gong-51773a-squirrel.html">
            
                    
                    第 3 章 Phoenix 图形化工具: Squirrel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin.html">
            
                <a href="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin.html">
            
                    
                    第 4 章 Phoenix 创建 HBase 二级索引
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/41-hbase-de-er-ji-suo-yin.html">
            
                <a href="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/41-hbase-de-er-ji-suo-yin.html">
            
                    
                    4.1 HBase 的二级索引
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/42-pei-zhi-hbase-zhi-chi-phoenix-chuang-jian-er-ji-suo-yin.html">
            
                <a href="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/42-pei-zhi-hbase-zhi-chi-phoenix-chuang-jian-er-ji-suo-yin.html">
            
                    
                    4.2 配置 HBase 支持 Phoenix 创建二级索引
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/43-chuang-jian-suo-yin.html">
            
                <a href="di-4-zhang-phoenix-chuang-jian-hbase-er-ji-suo-yin/43-chuang-jian-suo-yin.html">
            
                    
                    4.3 Phoenix 创建索引
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >第 1 章 Phoenix 简介</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;-1-&#x7AE0;-phoenix-&#x7B80;&#x4ECB;">&#x7B2C; 1 &#x7AE0; Phoenix &#x7B80;&#x4ECB;</h1>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/1566734067.png" alt=""></p>
<h2 id="11-phoenix-&#x5B9A;&#x4E49;">1.1 Phoenix &#x5B9A;&#x4E49;</h2>
<p>Phoenix &#x6700;&#x65E9;&#x662F; saleforce &#x7684;&#x4E00;&#x4E2A;&#x5F00;&#x6E90;&#x9879;&#x76EE;&#xFF0C;&#x540E;&#x6765;&#x6210;&#x4E3A; Apache &#x7684;&#x9876;&#x7EA7;&#x9879;&#x76EE;&#x3002;</p>
<p>Phoenix &#x6784;&#x5EFA;&#x5728; HBase &#x4E4B;&#x4E0A;&#x7684;&#x5F00;&#x6E90; SQL &#x5C42;. &#x80FD;&#x591F;&#x8BA9;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x6807;&#x51C6;&#x7684; JDBC API &#x53BB;&#x5EFA;&#x8868;, &#x63D2;&#x5165;&#x6570;&#x636E;&#x548C;&#x67E5;&#x8BE2; HBase &#x4E2D;&#x7684;&#x6570;&#x636E;, &#x4ECE;&#x800C;&#x53EF;&#x4EE5;&#x907F;&#x514D;&#x4F7F;&#x7528; HBase &#x7684;&#x5BA2;&#x6237;&#x7AEF; API.</p>
<p>&#x5728;&#x6211;&#x4EEC;&#x7684;&#x5E94;&#x7528;&#x548C; HBase &#x4E4B;&#x95F4;&#x6DFB;&#x52A0;&#x4E86; Phoenix, &#x5E76;&#x4E0D;&#x4F1A;&#x964D;&#x4F4E;&#x6027;&#x80FD;, &#x800C;&#x4E14;&#x6211;&#x4EEC;&#x4E5F;&#x5C11;&#x5199;&#x4E86;&#x5F88;&#x591A;&#x4EE3;&#x7801;.</p>
<h2 id="12-phoenix-&#x7279;&#x70B9;">1.2 Phoenix &#x7279;&#x70B9;</h2>
<ol>
<li>&#x5C06; SQl &#x67E5;&#x8BE2;&#x7F16;&#x8BD1;&#x4E3A; HBase &#x626B;&#x63CF;</li>
<li>&#x786E;&#x5B9A;&#x626B;&#x63CF; Rowkey &#x7684;&#x6700;&#x4F73;&#x5F00;&#x59CB;&#x548C;&#x7ED3;&#x675F;&#x4F4D;&#x7F6E;</li>
<li>&#x626B;&#x63CF;&#x5E76;&#x884C;&#x6267;&#x884C;</li>
<li>&#x5C06; where &#x5B50;&#x53E5;&#x63A8;&#x9001;&#x5230;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x7684;&#x8FC7;&#x6EE4;&#x5668;</li>
<li>&#x901A;&#x8FC7;&#x534F;&#x5904;&#x7406;&#x5668;&#x8FDB;&#x884C;&#x805A;&#x5408;&#x64CD;&#x4F5C;</li>
<li>&#x5B8C;&#x7F8E;&#x652F;&#x6301; HBase &#x4E8C;&#x7EA7;&#x7D22;&#x5F15;&#x521B;&#x5EFA;</li>
<li>DML&#x547D;&#x4EE4;&#x4EE5;&#x53CA;&#x901A;&#x8FC7;DDL&#x547D;&#x4EE4;&#x521B;&#x5EFA;&#x548C;&#x64CD;&#x4F5C;&#x8868;&#x548C;&#x7248;&#x672C;&#x5316;&#x589E;&#x91CF;&#x66F4;&#x6539;&#x3002;</li>
<li>&#x5BB9;&#x6613;&#x96C6;&#x6210;&#xFF1A;&#x5982;Spark&#xFF0C;Hive&#xFF0C;Pig&#xFF0C;Flume&#x548C;Map Reduce&#x3002;</li>
</ol>
<h2 id="13-phoenix-&#x67B6;&#x6784;">1.3 Phoenix &#x67B6;&#x6784;</h2>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/1566784932.png" alt=""></p>
<h2 id="14-phoenix-&#x6570;&#x636E;&#x5B58;&#x50A8;">1.4 Phoenix &#x6570;&#x636E;&#x5B58;&#x50A8;</h2>
<p>Phoenix &#x5C06; HBase &#x7684;&#x6570;&#x636E;&#x6A21;&#x578B;&#x6620;&#x5C04;&#x5230;&#x5173;&#x7CFB;&#x578B;&#x4E16;&#x754C;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/1566788588.png" alt=""></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="chapter1.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 第 2 章 Phoenix 快速入门">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第 1 章 Phoenix 简介","level":"1.1","depth":1,"next":{"title":"第 2 章 Phoenix 快速入门","level":"1.2","depth":1,"path":"chapter1.md","ref":"chapter1.md","articles":[{"title":"2.1 安装部署","level":"1.2.1","depth":2,"path":"chapter1/21-an-zhuang-bu-shu.md","ref":"chapter1/21-an-zhuang-bu-shu.md","articles":[]},{"title":"2.2 Phoenix 表操作","level":"1.2.2","depth":2,"path":"chapter1/22-phoenix-biao-cao-zuo.md","ref":"chapter1/22-phoenix-biao-cao-zuo.md","articles":[]},{"title":"2.3 Phoenix 表映射","level":"1.2.3","depth":2,"path":"chapter1/23-phoenix-biao-ying-she.md","ref":"chapter1/23-phoenix-biao-ying-she.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2019-08-26T03:39:15.889Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-27T02:14:08.566Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

